package com.woniu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * 表名：villages
*/
@Table(name = "villages")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Villages implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @Column(name = "villages_code")
    private String villagesCode;

    @Column(name = "villages_name")
    private String villagesName;

    @Column(name = "street_code")
    private String streetCode;

    @Column(name = "area_code")
    private String areaCode;

    @Column(name = "city_code")
    private String cityCode;

    @Column(name = "province_code")
    private String provinceCode;

    /**
     * @return villagesCode
     */
    public String getVillagesCode() {
        return villagesCode;
    }

    /**
     * @param villagesCode
     */
    public void setVillagesCode(String villagesCode) {
        this.villagesCode = villagesCode;
    }

    /**
     * @return villagesName
     */
    public String getVillagesName() {
        return villagesName;
    }

    /**
     * @param villagesName
     */
    public void setVillagesName(String villagesName) {
        this.villagesName = villagesName;
    }

    /**
     * @return streetCode
     */
    public String getStreetCode() {
        return streetCode;
    }

    /**
     * @param streetCode
     */
    public void setStreetCode(String streetCode) {
        this.streetCode = streetCode;
    }

    /**
     * @return areaCode
     */
    public String getAreaCode() {
        return areaCode;
    }

    /**
     * @param areaCode
     */
    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    /**
     * @return cityCode
     */
    public String getCityCode() {
        return cityCode;
    }

    /**
     * @param cityCode
     */
    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    /**
     * @return provinceCode
     */
    public String getProvinceCode() {
        return provinceCode;
    }

    /**
     * @param provinceCode
     */
    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }
}